import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/css/common.css'  //全局引入初始化样式
import api from "./api"
import "./assets/font/iconfont.css"  //引入iconfont图标的样式
import Tabs from "./components/tabs"  //全局引入组件
import BackTop from "./components/backtop"

Vue.use(Tabs);
Vue.use(BackTop);

Vue.prototype.$api = api;  //为了在组件里面调用，避免每个组件去引用，直接将它添加到Vue原型上,在main.js 配置
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
